projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59a96f
)
better configure
author
Andrea Corallo
<akrl@sdf.org>
Tue, 12 Nov 2019 22:27:09 +0000
(23:27 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:38:04 +0000
(11:38 +0100)
check for libgccjit.h file instead of the shared lib in configure
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index c86dac6a65bce73021bbfac942b362ebfa5e7c70..c1e3977330057e35b7c0054c8198e9896a00dff7 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3742,7
+3742,7
@@
HAVE_NATIVE_COMP=no
LIBGCCJIT_LIB=
COMP_OBJ=
if test "${with_nativecomp}" != "no"; then
- AC_CHECK_
LIB(gccjit, gcc_jit_context_acquire, HAVE_NATIVE_COMP=yes, , -lgccjit
)
+ AC_CHECK_
HEADER([libgccjit.h], [HAVE_NATIVE_COMP=yes]
)
if test "${HAVE_NATIVE_COMP}" = "yes"; then
LIBGCCJIT_LIB="-lgccjit -ldl"
if test "${HAVE_MODULES}" = yes; then